# nginx add ping
FROM nginx
# 备份源信息
RUN  cp /etc/apt/sources.list /etc/apt/sources.list.backup
# 覆盖源信息
# COPY ./mirror /etc/apt/sources.list
# 安装ping 和vim
RUN apt-get update  && apt-get install -y iputils-ping